package com.ticker.national.db;

public enum ProfileImageDB {
	
	ID("_id", "integer primary key AUTOINCREMENT"),
	IMAGE_URL("image_url", "char"),		
	IMAGE_BLOB("image_blob", "blob");
	
	private String columnName;
	private String columnType;
	
	public static final String TABLE_NAME = "PROFILE_IMAGE";
    public static String[] columnNames = new String[ProfileImageDB.values().length];
    public static String[] columnTypes = new String[ProfileImageDB.values().length];

    static {
        for (int a = 0; a < ProfileImageDB.values().length; a++) {
            columnNames[a] = ProfileImageDB.values()[a].columnName;
            columnTypes[a] = ProfileImageDB.values()[a].columnType;
        }
    }
	
	private ProfileImageDB(String columnName, String columnType) {
		this.columnName = columnName;
		this.columnType = columnType;
	}

	public String getColumnName() {
		return columnName;
	}

	public String getColumnType() {
		return columnType;
	}
	
    @Override
    public String toString() {
        return this.columnName;
    }
}

